// ------------------------------------------------------ Naming ------------------------------------------------------
Name Eurofighter Typhoon Germany
ShortName Typhoon_Germany
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconeurotyphoon_germany
Model germany.eurotyphoon_germany
Texture eurotyphoon_germany
//Third Person Camera Distance
CameraDistance 20.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 0.0
HasGear True
ModelScale 1
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 0.85
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.4
TurnRightSpeed 1.4
//Pitch modifiers
LookUpSpeed 1.15
LookDownSpeed 1.15

RollLeftSpeed 1.8
RollRightSpeed 1.8
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 0.2
//Lift
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -30 -10 -46
WheelPosition 1 -30 -10 46
WheelPosition 2 60 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 54 0 0 core Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary Missile
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 20
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 47 32 21 leftWing ADEN
ShootPointSecondary 67 12 -32 leftWing
ShootPointSecondary 20 14 -59 leftWing
ShootPointSecondary -19 10 -82 leftWing
ShootPointSecondary -28 14 -100 leftWing
ShootPointSecondary 67 12 32 rightWing
ShootPointSecondary 20 14 59 leftWing
ShootPointSecondary -19 10 82 rightWing
ShootPointSecondary -28 14 100 rightWing
ShootParticlesPrimary explode 0.5 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo AIM9
AddAmmo Brimstone
AddAmmo Meteor
AddAmmo StormShadow
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 84 49 0
Passengers 0
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound HarrierIdle
StartSoundLength 140
PropSound JetEngine2
PropSoundLength 47
ShootSoundPrimary 30mmcannon
ShootSoundSecondary RocketFire2
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 40 69 39 -5 10 20 10
SetupPart airframe 390 -131 27 -23 278 23 46
SetupPart tail 390 -166 46 -6 79 56 11
SetupPart leftWing 175 -119 23 -118 149 5 95
SetupPart rightWing 175 -119 23 23 149 5 95
SetupPart engine 140 -158 21 -23 32 24 20
SetupPart engine2 140 -158 21 2 32 24 20


BulletDetection 6
CollisionPoint 153 22 0 core
CollisionPoint 121 22 0 core
CollisionPoint 153 22 0 core
CollisionPoint 121 22 0 core
CollisionPoint 153 22 0 core
CollisionPoint 121 22 0 core
CollisionPoint 153 22 0 core
CollisionPoint 121 22 0 core
CollisionPoint -28 39 -30 leftWing
CollisionPoint -93 39 -97 leftWing
CollisionPoint -117 39 -97 leftWing
CollisionPoint -105 39 -30 leftWing
CollisionPoint -28 39 30 rightWing
CollisionPoint -93 39 97 rightWing
CollisionPoint -117 39 97 rightWing
CollisionPoint -105 39 30 rightWing
CollisionPoint -188 35 0 tail
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 100
BulletSpeed 8
BulletSpread 1

hasPlaneRadar true
radarPositionOffset 20
radarRange 2000
radarVisible true 
radarRefreshDelay 10
ShootParticlesPrimary cloud 0 0 0
ShootParticlesSecondary cloud 1 0 0
ShootParticlesSecondary cloud -1 0 0
ShootParticlesSecondary explode -1 0 0
ShootParticlesSecondary flame -1 0 0
ReloadSoundPrimary PG_reload
ReloadTimePrimary 60
ReloadTimeSecondary 100
ReloadSoundSecondary PlaneBomb_reload1
EngineSoundRange 1000
HasFlare True
FlareDelay 300
FlareSound Flare
TimeFlareUsing 5
LockedOnSound Lock
SoundTime 8
LockedOnSoundRange 15

//max speeds sea level and high alt when afterburning or WEPing
maxSpeed 1.8
highAltMax 3.4

//max speeds sea level and high alt when not afterburning dry thrust cruise speed
maxSpeedDry 1.4
highAltMaxDry 1.5

//max speed during a high energy death dive
diveBonus 3.5
//max speed when dying from low energy stall climb
stallSuffering 1

//bonus multiplier for gaining energy while diving
energyGainRate 1.0

//how fast energy is lost multiplier
energyLossRate 0.8

//flight ceiling
flightCeiling 2000

//maneuvrability multipliers applied when max energy, if low energy defaults to just x1  you can also use 0.x to simulate controls locking up at high speed
rollBonus 1.2
yawBonus 1.2
pitchBonus 1.5

//maneuvrability multiplier when low energy stall
rollStall 0.8
yawStall 0.8
pitchStall 0.7

hasAfterBurner true
//use this to rename afterburner to WEP or 110% throttle or Notleistung or whatever


//afterburner particle emitter
AddEmitter explode 1 [-151,30,11] [1,1,1] [-3,0,0] 0.05 0.2 0 1 tail
AddEmitter explode 1 [-151,30,-11] [1,1,1] [-3,0,0] 0.05 0.2 0 1 tail
AddEmitter explode 1 [-151,30,11] [1,1,1] [-2,0,0] 0.2 0.5 0 1 tail
AddEmitter explode 1 [-151,30,-11] [1,1,1] [-2,0,0] 0.2 0.5 0 1 tail
AddEmitter explode 1 [-151,30,11] [1,1,1] [-4,0,0] 0.5 0.8 0 1 tail
AddEmitter explode 1 [-151,30,-11] [1,1,1] [-4,0,0] 0.5 0.8 0 1 tail
AddEmitter largesmoke 1 [-151,30,11] [3,1,1] [-1,0,0] 0.5 0.8 0 1 tail
AddEmitter largesmoke 1 [-151,30,-11] [3,1,1] [-1,0,0] 0.5 0.8 0 1 tail
particleAfterBurn flansmod.fmflame 1 [-151,30,11] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-151,30,-11] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-151,30,11] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-151,30,-11] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-151,30,11] [3,3,3] [3,0,0] tail
particleAfterBurn flansmod.fmflame 1 [-151,30,-11] [3,3,3] [3,0,0] tail

//multiplier to fuel consumption when afterburner on
afterBurnFuelPenalty 3